package com.zbdx.medicalzb.mapper;

import com.zbdx.medicalzb.entity.CompanyPolicyEntity;
import com.zbdx.medicalzb.model.CompanyPolicyModel;
import com.zbdx.medicalzb.param.CompanyPolicyParam;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CompanyPolicyMapper {
    List<CompanyPolicyModel> getAllPolicy(CompanyPolicyParam param);

    int updatePolicy(CompanyPolicyEntity entity);

    int savePolicy(CompanyPolicyEntity entity);

    int deletePolicy(Long id);
}
